<template>
        <div class="Adver">
                <div class="adver_box">
                    <div class="adver_left">
                        <ul class="adver_left_ul">
                            <li v-for="item in list" :key="item.url">
                                <a href="#">
                                    <img :src="item.url" alt="">
                                               {{item.text}}       
                                </a>
                            </li>
                        </ul>
                    </div>
                    <div class="adver_right">
                            <ul>
                                <li>
                                    <a href="#">
                                        <img src="../assets/tubiao/right01.png" alt="">
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <img src="../assets/tubiao/right02.png" alt="">
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <img src="../assets/tubiao/right03.png" alt="">
                                    </a>
                                </li>
                            </ul>
                    </div>
                </div>
        </div>
</template>

<script>
export default {
    name:'Advertising',
    data(){
        return{
            list:[
                {
                    url:require('../assets/tubiao/one.png'),
                    text:'保障服务'
                },
                {
                    url:require('../assets/tubiao/tow.png'),
                    text:'企业团购'
                },
                {
                    url:require('../assets/tubiao/three.png'),
                    text:'F码通道'
                },
                {
                    url:require('../assets/tubiao/four.png'),
                    text:'米粉卡'
                },
                {
                    url:require('../assets/tubiao/five.png'),
                    text:'以旧换新'
                },
                {
                    url:require('../assets/tubiao/six.png'),
                    text:'话费充值'
                },
            ]
        }
    }
}
</script>

<style scoped>
    .Adver{
        margin-top:14px;
        width: 100%;
        height: 170px;
    }
    .Adver .adver_box{
        margin: 0 auto;
        width:1226px;
        height: 170px;
    }
    .adver_left{
        float: left;
        width: 240px;
        height: 100%;
        background: #5f5750
    }
    .adver_left_ul{
        margin: 0;
        padding: 3px;
        list-style-type: none;
        font-size: 12px;
        text-align: center;
    }
    .adver_left_ul  li{
        position: relative;
        float: left;
        width: 70px;
        height: 82px;
        padding: 0 3px;
       
    }
    .adver_left_ul  li a{
        display: block;
        padding-top: 18px;
        text-overflow: ellipsis;
        color:rgb(197, 197, 197);
        opacity: .7;
        
    }
    .adver_left_ul li a img{
        display: block;
        width: 24px;
        height: 24px;
        margin: 0 auto 4px;
    }
     .adver_left_ul li a:hover{
        color: rgb(255, 255, 255);
     }
     

     /* right */
     .adver_right{
        float: left;
        width: 986px;
        height: 100%;
     }
     .adver_right ul li{
        float: left;
        margin-left: 7px;
        width: 321px;
        height: 100%;
     }
      .adver_right ul li a{
        display: block;
        width: 100%;
        height: 100%;
        transition: all 0.3s;
      }
      .adver_right ul li a img{
        object-fit: cover;
      }
      .adver_right ul li a:hover{
        box-shadow: 2px 2px 15px rgb(184, 183, 183);
      }
</style>